<?php
	class GlobalConst{
		/******trang thai khi trong bang hl_payments_history*****/
		//da chuyen tien vao tai khoan, dang cho de insert hien thi
		public static $STATUS_WAITING = '0';
		//da chuyen tien vao tai khoan, va insert vao cac bang khac		
		public static $STATUS_OK = '1';
		
		/***********payment type*****************/
		//liberty reserver
		public static $PAYMENT_TYPE_LIBERTY_RESERVER = '1';
		//perfect money
		public static $PAYMENT_TYPE_PERFECT_MONEY = '2';
		//alert pay
		public static $PAYMENT_TYPE_ALERT_PAY = '3';
		
		/**************action type***********/
		//add listing
		public static $ACTION_ADD_LISTING = '1';
		//upgrade listing
		public static $ACTION_UPGRADE_LISTING = '2';
		//add advertisement
		public static $ACTION_ADD_ADVERTISEMENT = '3';
		//upgrade advertisement
		public static $ACTION_UPGRADE_ADVERTISEMENT = '4';
		
		/**********************dieu khien hien thi program*****************************/
		//program dang o trang thai cho de admin active viec hien thi
		public static $PROGRAM_WATING_APPROVAL = '2';
		//program o trang thai active va duoc hien thi
		public static $PROGRAM_APPROVAL = '1';
		
		
		/******************group id*********************/
		//upgrade advertisement
		//premium
		public static $PREMIUM_GROUP_ID = '1';
		
		public static $SCAM_GROUP_ID = '6';
		public static $SCAM_GROUP_VALUE = 'Scam';
		
		public static $CLOSED_GROUP_ID = '7';
		public static $CLOSED_GROUP_VALUE = 'Closed';
		
		
		
		/*********************advertise banner****************************/
		//top banner
		public static $ADV_GROUP_TOP_ID = '0';
		//spec banner
		//rotation banner
		public static $ADV_GROUP_ROTATION_ID = '1';
		public static $ADV_GROUP_SPECIAL_ID = '2';
		//normal banner
		public static $ADV_GROUP_NORMAL_ID = '3';
		//mini banner banner
		public static $ADV_GROUP_MINI_ID = '4';
		
		/********************KEY MAIL*****************************************/
		//add program
		public static $KEY_MAIL_ADD_PROGRAM = 'add_program';
		//confirm program
		public static $KEY_MAIL_CONFIRM_PROGRAM = 'confirm_program';
		//add advertisement
		public static $KEY_MAIL_ADD_ADVERTISEMENT = 'add_advertisement';
		
		//ad time type by week
		public static $AD_TIME_TYPE_WEEK = 'w';
		
		//ad time type by month
		public static $AD_TIME_TYPE_MONTH = 'm';
		
		/**withdrawal type************/
		public static $MANUAL_WITHDRAWAL  = 1;
		
		public static $INSTANCE_WITHDRAWAL  = 2;
		
		public static $AUTOMATIC_WITHDRAWAL = 3;
		
		/**payout status***************/
		public static $PAYING_STATUS = 1;
		
		public static $WATTING_STATUS = 2;
		
		public static $PROBLEM_STATUS = 3;
		
		public static $NOT_PAYING_STATUS = 1;
		
		public static  $PRG_ON_PAGE = 30;
		
		
		
	}
?>